package top.yaofengqiao.springcloudsimple.payment.biz.trigger.dubbo;

import org.apache.dubbo.config.annotation.DubboService;
import top.yaofengqiao.springcloudsimple.payment.api.IPaymentOrderDubboService;
import top.yaofengqiao.springcloudsimple.payment.biz.domain.pay.service.IPaymentService;

import javax.annotation.Resource;

/**
 * @author yfq
 * @date 2024/6/22 13:57
 * @description
 */
@DubboService
public class PaymentOrderDubboService implements IPaymentOrderDubboService {
    @Resource
    private IPaymentService paymentService;

    @Override
    public void paymentOrderClose(String rechargeOrderNo) {
        paymentService.paymentOrderClose(rechargeOrderNo);
    }

}
